<script type="text/javascript">
	$(document).ready(function(){
            $("#item-btn a").click(function(){
                var url = $(this).attr("href");     
                var formData = {ajax:"yes",submit:true};
                $.ajax({
                    type: "POST",
                    url: url,
                    data: formData,
                    async: true,
                    beforeSend: function(){
                        $("#content").html("");
                    },
                    success: function(kq){
                        alert('Da them vao gio hang !');
                        $("#cart").html(kq);
                    }
                })
                return false;
            });     
        })
</script>
<li id="cart">
    <a href="">
    	<i class="fa fa-shopping-cart"></i>
            <span id="count">
                {total_cart}
            </span>
    </a>
</li>